import Vue from "vue"

Vue.mixin({
	methods: {
    // 判断是否含有权限
		hasAuth(perm) {
			var authority = this.$store.state.menus.permList

			// return authority.indexOf(perm) > -1
		  return true;
    }
	}
})
